/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.anwarsumawang.salapi;

import java.math.BigDecimal;

/**
 *
 * @author Anwar
 */
class Expense {
    private int expenseId;
    private String expenseName;
    private BigDecimal expenseAmount;
    private String expenseCategory;

    public Expense(int expenseId, String expenseName, String expenseAmount, String expenseCategory) {
        this.expenseId = expenseId;
        this.expenseName = expenseName;
        this.expenseAmount = new BigDecimal(expenseAmount);
        this.expenseCategory = expenseCategory;
    }

    public Expense(String expenseName, String expenseAmount, String expenseCategory) {
        this.expenseName = expenseName;
        this.expenseAmount = new BigDecimal(expenseAmount);
        this.expenseCategory = expenseCategory;
    }

    /**
     * @return the expenseId
     */
    public int getExpenseId() {
        return expenseId;
    }

    /**
     * @param expenseId the expenseId to set
     */
    public void setExpenseId(int expenseId) {
        this.expenseId = expenseId;
    }

    /**
     * @return the expenseName
     */
    public String getExpenseName() {
        return expenseName;
    }

    /**
     * @param expenseName the expenseName to set
     */
    public void setExpenseName(String expenseName) {
        this.expenseName = expenseName;
    }

    /**
     * @return the expenseAmount
     */
    public BigDecimal getExpenseAmount() {
        return expenseAmount;
    }

    /**
     * @param expenseAmount the expenseAmount to set
     */
    public void setExpenseAmount(BigDecimal expenseAmount) {
        this.expenseAmount = expenseAmount;
    }

    /**
     * @return the expenseCategory
     */
    public String getExpenseCategory() {
        return expenseCategory;
    }

    /**
     * @param expenseCategory the expenseCategory to set
     */
    public void setExpenseCategory(String expenseCategory) {
        this.expenseCategory = expenseCategory;
    }

    
}
